Enum ValidationResult.SEVERITY

java.lang.Object
java.lang.Enum<ValidationResult.SEVERITY>
de.aoksystems.da.kernpruefung.xml.validator.ValidationResult.SEVERITY
All Implemented Interfaces:
Serializable, Comparable<ValidationResult.SEVERITY>
Enclosing class:
ValidationResult

public static enum ValidationResult.SEVERITY extends Enum<ValidationResult.SEVERITY>
Enum für den Schweregrad des Fehlers.
Author:
yi00075
  • Enum Constant Details

    • OK

      public static final ValidationResult.SEVERITY OK
      Fehlergrad "OK".
    • WARN

      public static final ValidationResult.SEVERITY WARN
      Fehlergrad für Warnungen. Warnungen führen nicht zu invaliden XML-Dokumenten.
    • ERROR

      public static final ValidationResult.SEVERITY ERROR
      Fehlergrad für "normale" Fehler. Normale Fehler sind Fehler, die ein XML-Dokument invalide machen.
    • FATAL

      public static final ValidationResult.SEVERITY FATAL
      Fehlergrad für "fatale" Fehler. Fatale Fehler sind Fehler, die den Parser an der korrekten Weiterarbeit hindern.
  • Method Details

    • values

      public static ValidationResult.SEVERITY[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ValidationResult.SEVERITY valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null